package com.shangqing.system.droughtinformation.service.impl;

import com.shangqing.system.droughtinformation.entity.DroughtWeeks;
import com.shangqing.system.droughtinformation.mapper.DroughtWeeksMapper;
import com.shangqing.system.droughtinformation.service.IdroughtWeeksService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DroughtWeeksImpl implements IdroughtWeeksService {
    @Autowired
    private DroughtWeeksMapper droughtWeeksMapper;

    @Override
    public List<DroughtWeeks> getinfo() {
        return droughtWeeksMapper.getinfo();
    }
}
